package com.hb.core.pojo.expert.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hb.core.pojo.expert.dto.ExpertMajorDTO;
import com.hb.core.pojo.expert.entity.ExpertMajor;

import java.util.List;

/**
 * @author jinhaolin
 * @date 2022/1/19 17:32
 **/
public interface ExpertMajorMapper extends BaseMapper<ExpertMajor> {

    /**
     * 获取专业列表
     * @param parentMajorCode
     * @return
     */
    List<ExpertMajorDTO> majorList(String parentMajorCode, Long orgId);

}
